package cc.fine.svc.main;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @AUTHOR: wyihe
 * @DATE: 2023/10/24
 */

@SpringBootApplication(
        scanBasePackages = "cc.fine.svc"
)
@EnableCaching
@EnableScheduling
@EnableSwagger2
@EnableRabbit
@MapperScan(basePackages = {"cc.fine.svc.main.mapper"})
public class MainApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class);
    }
}
